//
//  KKAudioRecorder.h
//  AudioTest
//
//  Created by 康凯 on 2016/12/8.
//  Copyright © 2016年 kk. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

typedef void(^AudioRecorder) (NSURL *);
@interface KKAudioRecorder : NSObject
@property (nonatomic , copy) AudioRecorder recorderSuccessBlock;
@property (nonatomic , assign) BOOL shortTime;
-(void)openRecorder;
- (void)playAudio:(NSString *)url;
-(void)stopRecorder:(BOOL)shortTime;
@end
